Multiprocessor computer architecture incorporating a plurality of memory algorithm processors in the memory subsystem

ABSTRACT

A multiprocessor computer architecture incorporating a plurality of programmable hardware memory algorithm processors (“MAP”) in the memory subsystem. The MAP may comprise one or more field programmable gate arrays (“FPGAs”) which function to perform identified algorithms in conjunction with, and tightly coupled to, a microprocessor and each MAP is globally accessible by all of the system processors for the purpose of executing user definable algorithms. A circuit within the MAP signals when the last operand has completed its flow thereby allowing a given process to be interrupted and thereafter restarted. Through the use of read only memory (“ROM”) located adjacent the FPGA, a user program may use a single command to select one of several possible pre-loaded algorithms thereby decreasing system reconfiguration time. A computer system memory structure MAP disclosed herein may function in normal or direct memory access (“DMA”) modes of operation and, in the latter mode, one device may feed results directly to another thereby allowing pipelining or parallelizing execution of a user defined algorithm. The system of the present invention also provides a user programmable performance monitoring capability and utilizes parallelizer software to automatically detect parallel regions of user applications containing algorithms that can be executed in the programmable hardware.

BACKGROUND OF THE INVENTION

[0001] The present invention relates, in general, to the field of computer architectures incorporating multiple processing elements. More particularly, the present invention relates to a multiprocessor computer architecture incorporating a number of memory algorithm processors in the memory subsystem to significantly enhance overall system processing speed.

[0002] All general purpose computers are based on circuits that have some form of processing element. These may take the form of microprocessor chips or could be a collection of smaller chips coupled together to form a processor. In any case, these processors are designed to execute programs that are defined by a set of program steps. The fact that these steps, or commands, can be rearranged to create different end results using the same computer hardware is key to the computer's flexibility. Unfortunately, this flexibility dictates that the hardware then be designed to handle a variety of possible functions, which results in generally slower operation than would be the case were it able to be designed to handle only one particular function. On the other hand, a single function computer is inherently not a particularly versatile computer.

[0003] Recently, several groups have begun to experiment with creating a processor out of circuits that are electrically reconfigurable. This would allow the processor to execute a small set of functions more quickly and then be electrically reconfigured to execute a different small set. While this accelerates some program execution speeds, there are many functions that cannot be implemented well in this type of system due to the circuit densities that can be achieved in reconfigurable integrated circuits, such as 64-bit floating point math. In addition, all of these systems are presently intended to contain processors that operate alone. In high performance systems, this is not the case. Hundreds or even tens of thousands of processors are often used to solve a single problem in a timely manner. This introduces numerous issues that such reconfigurable computers cannot handle, such as sharing of a single copy of the operating system. In addition, a large system constructed from this type of custom hardware would naturally be very expensive to produce.

SUMMARY OF THE INVENTION

[0004] In response to these shortcomings, SRC Computers, Inc., Colorado. Springs, Colo., assignee of the present invention, has developed a Memory Algorithm Processor (“MAP”) multiprocessor computer architecture that utilizes very high performance microprocessors in conjunction with user reconfigurable hardware elements. These reconfigurable elements, referred to as MAPS, are globally accessible by all processors in the systems. In addition, the manufacturing cost and design time of a particular multiprocessor computer system is relatively low inasmuch as it can be built using industry standard, commodity integrated circuits and, in a preferred embodiment, each MAP may comprise a Field Programmable Gate Array (“FPGA”) operating as a reconfigurable functional unit.

[0005] Particularly disclosed herein is the utilization of one or more FPGAs to perform user defined algorithms in conjunction with, and tightly coupled to, a microprocessor. More particularly, in a multiprocessor computer system, the FPGAs are globally accessible by all of the system processors for the purpose of executing user definable algorithms.

[0006] In a particular implementation of the present invention disclosed herein, a circuit is provided either within, or in conjunction with, the FPGAs which signals, by means of a control bit, when the last operand has completed its flow through the MAP, thereby allowing a given process to be interrupted and thereafter restarted. In a still more specific implementation, one or more read only memory (“ROM”) integrated circuit chips may be coupled adjacent the FPGA to allow a user program to use a single command to select one of several possible algorithms preloaded in the ROM thereby decreasing system reconfiguration time.

[0007] Still further provided is a computer system memory structure which includes one or more FPGAs for the purpose of using normal memory access protocol to access it as well as being capable of direct memory access (“DMA”) operation. In a multiprocessor computer system, FPGAs configured with DMA capability enable one device to feed results directly to another thereby allowing pipelining or parallelizing execution of a user defined algorithm located in the reconfigurable hardware. The system and method of the present invention also provide a user programmable performance monitoring capability and utilizes parallelizer software to automatically detect parallel regions of user applications containing algorithms that can be executed in programmable hardware.

[0008] Broadly, what is disclosed herein is a computer including at least one data processor for operating on user data in accordance with program instructions. The computer includes at least one memory array presenting a data and address bus and comprises a memory algorithm processor associated with the memory array and coupled to the data and address buses. The memory algorithm processor is configurable to perform at least one identified algorithm on an operand received from a write operation to the memory array.

[0009] Also disclosed herein is a multiprocessor computer including a first plurality of data processors for operating on user data in accordance with program instructions and a second plurality of memory arrays, each presenting a data and address bus. The computer comprises a memory algorithm processor associated with at least one of the second plurality of memory arrays and coupled to the data and address bus thereof. The memory algorithm processor is configurable to perform at least one identified algorithm on an operand received from a write operation to the associated one of the second plurality of memory arrays.

BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The aforementioned and other features and objects of the present invention and the manner of attaining them will become more apparent and the invention itself will be best understood by reference to the following description of a preferred embodiment taken in conjunction with the accompanying drawings, wherein:

[0011]FIG. 1 is a simplified, high level, functional block diagram of a standard multiprocessor computer architecture;

[0012]FIG. 2 is a simplified logical block diagram of a possible computer application program decomposition sequence for use in conjunction with a multiprocessor computer architecture utilizing a number of memory algorithm processors (“MAPs”) in accordance with the present invention;

[0013]FIG. 3 is a more detailed functional block diagram of an individual one of the MAPs of the preceding figure and illustrating the bank control logic, memory array and MAP assembly thereof; and

[0014]FIG. 4 is a more detailed functional block diagram of the control block of the MAP assembly of the preceding illustration illustrating its interconnection to the user FPGA thereof.

DESCRIPTION OF A PREFERRED EMBODIMENT

[0015] With reference now to FIG. 1, a conventional multiprocessor computer 10 architecture is shown. The multiprocessor computer 10 incorporates N processors 12 ₀ through 12 _(N) which are bi-directionally coupled to a memory interconnect fabric 14. The memory interconnect fabric 14 is then also coupled to M memory banks comprising memory bank subsystems 16 ₀ (Bank 0) through 16 _(m) (Bank M) With reference now to FIG. 2, a representative application program decomposition for a multiprocessor computer architecture 100 incorporating a plurality of memory algorithm processors in accordance with the present invention is shown. The computer architecture 100 is operative in response to user instructions and data which, in a coarse grained portion of the decomposition, are selectively directed to one of (for purposes of example only) four parallel regions 102 ₁ through 102 ₄ inclusive. The instructions and data output from each of the parallel regions 102 ₁ through 102 ₄ are respectively input to parallel regions segregated into data areas 104 ₁ through 104 ₄ and instruction areas 106 ₁ through 106 ₄. Data maintained in the data areas 104 ₁ through 104 ₄ and instructions maintained in the instruction areas 106 ₁ through 106 ₄ are then supplied to, for example, corresponding pairs of processors 108 ₁, 108 ₂ (P1 and P2); 108 ₃, 108 ₄ (P3 and P4); 108 ₅, 108 ₆ (P5 and P6); and 108 ₇, 108 ₈ (P7 and P8) as shown. At this point, the medium grained decomposition of the instructions and data has been accomplished.

[0016] A fine grained decomposition, or parallelism, is effectuated by a further algorithmic decomposition wherein the output of each of the processors 108 ₁ through 108 ₉ is broken up, for example, into a number of fundamental algorithms 110 _(1A), 110 _(1B), 110 _(2A), 110 _(2B) through 110 _(8B) as shown. Each of the algorithms is then supplied to a corresponding one of the MAPs 112 _(1A), 112 _(1B), 112 _(2A), 112 _(2B) through 112 _(8B) in the memory space of the computer architecture 100 for execution therein as will be more fully described hereinafter.

[0017] With reference additionally now to FIG. 3, a preferred implementation of a memory bank 120 in a MAP system computer architecture 100 of the present invention is shown for a representative one of the MAPs 112 illustrated in the preceding figure. Each memory bank 120 includes a bank control logic block 122 bi-directionally coupled to the computer system trunk lines, for example, a 72 line bus 124. The bank control logic block 122 is coupled to a bi-directional data bus 126 (for example 256 lines) and supplies addresses on an address bus 128 (for example 17 lines for accessing data at specified locations within a memory array 130.

[0018] The data bus 126 and address bus 128 are also coupled to a MAP assembly 112. The MAP assembly 112 comprises a control block 132 coupled to the address bus 128. The control block 132 is also bi-directionally coupled to a user field programmable gate array (“FPGA”) 134 by means of a number of signal lines 136. The user FPGA 134 is coupled directly to the data bus 126. In a particular embodiment, the FPGA 134 may be provided as a Lucent Technologies OR3T80 device.

[0019] The computer architecture 100 comprises a multiprocessor system employing uniform memory access across common shared memory with one or more MAPs 112 located in the memory subsystem, or memory space. As previously described, each MAP 112 contains at least one relatively large FPGA 134 that is used as a reconfigurable functional unit. In addition, a control block 132 and a preprogrammed or dynamically programmable configuration read-only memory (“ROM” as will be more fully described hereinafter) contains the information needed by the reconfigurable MAP assembly 112 to enable it to perform a specific algorithm. It is also possible for the user to directly download a new configuration into the FPGA 134 under program control, although in some instances this may consume a number of memory accesses and might result in an overall decrease in system performance if the algorithm was short-lived.

[0020] FPGAs have particular advantages in the application shown for several reasons. First, commercially available, off-the-shelf FPGAs now contain sufficient internal logic cells to perform meaningful computational functions. Secondly, they can operate at speeds comparable to microprocessors, which eliminates the need for speed matching buffers. Still further, the internal programmable routing resources of FPGAs are now extensive enough that meaningful algorithms can now be programmed without the need to reassign the locations of the input/output (“I/O”) pins.

[0021] By placing the MAP 112 in the memory subsystem or memory space, it can be readily accessed through the use of memory read and write commands, which allows the use of a variety of standard operating systems. In contrast, other conventional implementations propose placement of any reconfigurable logic in or near the processor. This is much less effective in a multiprocessor environment because only one processor has rapid access to it. Consequently, reconfigurable logic must be placed by every processor in a multiprocessor system, which increases the overall system cost. In addition, MAP 112 can access the memory array 130 itself, referred to as Direct Memory Access (“DMA”), allowing it to execute tasks independently and asynchronously of the processor. In comparison, were it were placed near the processor, it would have to compete with the processors for system routing resources in order to access memory, which deleteriously impacts processor performance. Because MAP 112 has DMA capability, (allowing it to write to memory), and because it receives its operands via writes to memory, it is possible to allow a MAP 112 to feed results to another MAP 112. This is a very powerful feature that allows for very extensive pipelining and parallelizing of large tasks, which permits them to complete faster.

[0022] Many of the algorithms that may be implemented will receive an operand and require many clock cycles to produce a result. One such example may be a multiplication that takes 64 clock cycles. This same multiplication may also need to be performed on thousands of operands. In this situation, the incoming operands would be presented sequentially so that while the first operand requires 64 clock cycles to produce results at the output, the second operand, arriving one clock cycle later at the input, will show results one clock cycle later at the output. Thus, after an initial delay of 64 clock cycles, new output data will appear on every consecutive clock cycle until the results of the last operand appears. This is called “pipelining”.

[0023] In a multiprocessor system, it is quite common for the operating system to stop a processor in the middle of a task, reassign it to a higher priority task, and then return it, or another, to complete the initial task. When this is combined with a pipelined algorithm, a problem arises (if the processor stops issuing operands in the middle of a list and stops accepting results) with respect to operands already issued but not yet through the pipeline. To handle this issue, a solution involving the combination of software and hardware is disclosed herein.

[0024] To make use of any type of conventional reconfigurable hardware, the programmer could embed the necessary commands in his application program code. The drawback to this approach is that a program would then have to be tailored to be specific to the MAP hardware. The system of the present invention eliminates this problem. Multiprocessor computes often use software called parallelizers. The purpose of this software is to analyze the user's application code and determine how best to split it up among the processors. The present invention provides significant advantages over a conventional parallelizer and enables it to recognize portions of the user code that represent algorithms that exist in MAPs 112 for that system and to then treat the MAP 112 as another computing element. The parallelizer then automatically generates the necessary code to utilize the MAP 112. This allows the user to write the algorithm directly in his code, allowing it to be more portable and reducing the knowledge of the system hardware that he has to have to utilize the MAP 112.

[0025] With reference additionally now to FIG. 4, a block diagram of the MAP control block 132 is shown in greater detail. The control block 132 is coupled to receive a number of command bits (for example, 17) from the address bus 128 at a command decoder 150. The command decoder 150 then supplies a number of register control bits to a group of status registers 152 on an eight bit bus 154. The command decoder 150 also supplies a single bit last operand flag on line 156 to a pipeline counter 158. The pipeline counter 158 supplies an eight bit output to an equality comparitor 160 on bus 162. The equality comparitor 160 also receives an eight bit signal from the FPGA 134 on bus 136 indicative of the pipeline depth. When the equality comparitor determines that the pipeline is empty, it provides a single bit pipeline empty flag on line 164 for input to the status registers 152. The status registers are also coupled to receive an eight bit status signal from the FPGA 134 on bus 136 and it produces a sixty four bit status word output on bus 166 in response to the signals on bus 136, 154 and line 164

[0026] The command decoder 150 also supplies a five bit control signal to a configuration multiplexer (“MUX”) 170 as shown. The configuration mux 170 receives a single bit output of a 256 bit parallel-serial converter 172 on line 176. The inputs of the 256 bit parallel-to-serial converter 172 are coupled to a 256 bit user configuration pattern bus 174. The configuration mux 170 also receives sixteen single bit inputs from the configuration ROMs (illustrated as ROM 182) on bus 178 and provides a single bit configuration file signal on line 180 to the user FPGA 134 as selected by the control signals from the command decoder 150 on the bus 168.

[0027] In operation, when a processor 108 is halted by the operating system, the operating system will issue a last operand command to the MAP 112 through the use of command bits embedded in the address field on bus 128. This command is recognized by the command decoder 150 of the control block 132 and it initiates a hardware pipeline counter 158. When the algorithm was initially loaded into the FPGA 134, several output bits connected to the control block 132 were configured to display a binary representation of the number of clock cycles required to get through its pipeline (i.e. pipeline “depth”) on bus 136 input to the equality comparitor 160. After receiving the last operand command, the pipeline counter 158 in the control block 132 counts clock cycles until its count equals the pipeline depth for that particular algorithm. At that point, the equality comparitor 160 in the control block 132 de-asserts a busy bit on line 164 in an internal group of status registers 152. After issuing the last operand signal, the processor 108 will repeatedly read the status registers 152 and accept any output data on bus 166. When the busy flag is de-asserted, the task can be stopped and the MAP 112 utilized for a different task. It should be noted that it is also possible to leave the MAP 112 configured, transfer the program to a different processor 108 and restart the task where it left off

[0028] In order to evaluate the effectiveness of the use of the MAP 112 in a given application, some form of feedback to the use is required. Therefore, the MAP 112 may be equipped with internal registers in the control block 132 that allow it to monitor efficiency related factors such as the number of input operands versus output data, the number of idle cycles over time and the number of system monitor interrupts received over time. One of the advantages that the MAP 112 has is that because of its reconfigurable nature, the actual function and type of function that are monitored can also change as the algorithm changes. This provides the user with an almost infinite number of possible monitored factors without having to monitor all factors all of the time.

[0029] While there have been described above the principles of the present invention in conjunction with a specific multiprocessor architecture it is to be clearly understood that the foregoing description is made only by way of example and not as a limitation to the scope of the invention. Particularly, it is recognized that the teachings of the foregoing disclosure will suggest other modifications to those persons skilled in the relevant art. Such modifications may involve other features which are already known per se and which may be used instead of or in addition to features already described herein. Although claims have been formulated in this application to particular combinations of features, it should be understood that the scope of the disclosure herein also includes any novel feature or any novel combination of features disclosed either explicitly or implicitly or any generalization or modification thereof which would be apparent to persons skilled in the relevant art, whether or not such relates to the same invention as presently claimed in any claim and whether or not it mitigates any or all of the same technical problems as confronted by the present invention. The applicants hereby reserve the right to formulate new claims to such features and/or combinations of such features during the prosecution of the present application or of any further application derived therefrom. 

What is claimed is:
 1. A computer including at least one data processor for operating on user data in accordance with program instructions, said computer further including at least one memory array presenting a data and address bus, said computer comprising: a memory algorithm processor associated with said memory array and coupled to said data and address buses, said memory algorithm processor being configurable to perform at least one identified algorithm on an operand received from a write operation to said memory array.
 2. The computer of claim 1 wherein said memory algorithm processor comprises a field programmable gate array.
 3. The computer of claim 1 wherein said memory algorithm processor is operative to access said memory array independently of said processor.
 4. The computer of claim 1 wherein said at least one identified algorithm is preprogrammed into said memory algorithm processor.
 5. The computer of claim 4 wherein said at least one identified algorithm is preprogrammed into a memory device associated with said memory algorithm processor.
 6. The computer of claim 5 wherein said memory device comprises at least one read only memory device.
 7. The computer of claim 1 further comprising a first plurality of said data processors and a second plurality of said memory arrays, each of said memory arrays comprising an associated memory algorithm processor.
 8. The computer of claim 7 wherein a memory algorithm processor associated with a first one of said second plurality of said memory arrays is operative to pass a result of a processed operand to another memory algorithm processor associated with a second one of said second plurality of said memory arrays.
 9. The computer of claim 1 wherein said memory algorithm processor further comprises: a control block including a command decoder coupled to said address bus and a counter coupled to said command decoder, said command decoder for providing a last operand flag to said counter in response to a last operand command from an operating system of said at least one processor.
 10. The computer of claim 9 wherein said memory algorithm processor further comprises: an equality comparator coupled to receive a pipeline depth signal and an output of said counter for providing a pipeline empty flag to at least one status register.
 11. The computer of claim 10 wherein said status register is coupled to said command decoder to receive a register control signal and a status signal to provide a status word output signal.
 12. A multiprocessor computer including a first plurality of data processors for operating on user data in accordance with program instructions and a second plurality of memory arrays, each presenting a data and address bus, said computer comprising: a memory algorithm processor associated with at least one of said second plurality of memory arrays and coupled to said data and address bus thereof, said memory algorithm processor being configurable to perform at least one identified algorithm on an operand received from a write operation to said associated one of said second plurality of memory arrays.
 13. The multiprocessor computer of claim 12 wherein said memory algorithm processor associated with one of said second plurality of memory arrays is accessible by more than one of said first plurality of data processors.
 14. The multiprocessor computer of claim 13 wherein said memory algorithm processor associated with one of said second plurality of memory arrays is accessible by all of said first plurality of data processors.
 15. The multiprocessor computer of claim 12 wherein said memory algorithm processor comprises: a control block operative to provide a last operand flag in response to a last operand having been processed in said memory algorithm processor.
 16. The multiprocessor computer of claim 12 further comprising: at least one memory device associated with said memory algorithm processor for storing a number of pre-loaded algorithms.
 17. The multiprocessor computer of claim 16 wherein said at least one memory device is responsive to a predetermined command to enable a selected one of said number of pre-loaded algorithms to be implemented by said memory algorithm processor.
 18. The multiprocessor computer of claim 16 wherein said at least one memory device comprises at least one read only memory device.
 19. The multiprocessor computer of claim 12 wherein said memory algorithm processor comprises a field programmable gate array.
 20. The multiprocessor computer of claim 12 wherein said memory algorithm processor is accessible through normal memory access protocol.
 21. The multiprocessor computer of claim 12 wherein said memory algorithm processor has direct memory access capability to said associated one of said second plurality of memory arrays.
 22. The multiprocessor computer of claim 12 wherein a memory algorithm processor associated with a first one of said second plurality of said memory arrays is operative to pass a result of a processed operand to another memory algorithm processor associated with a second one of said second plurality of said memory arrays.
 23. The multiprocessor computer of claim 12 wherein said computer is operative to automatically detect parallel regions of application program code that are capable of being executed in said memory algorithm processor.
 24. The multiprocessor computer of claim 23 wherein said memory algorithm processor is configurable by said application program code. 